# include <stdio.h>
# include <math.h>


double fun(double x,double y,char z)
{
	double ret= 0.0;
	
	switch(z)
	{
		case'+':
			ret = x + y;
			break;
		case'-':
			ret = x - y;
			break;
		case'*':
			ret = x * y;
		    break;
		case'/':
		    ret = x / y;
		    break;
		default:
			printf("Input Error\n");
		   break;
		    } 
		return ret;
		
	}
	int main()
	{
		double x;
		double y;
		char z;
		
		
		scanf("%lf%c%lf",&x,&z,&y);
		printf("%.2f",fun(x,y,z)); 
	
	
	
	return 0;
	
	
}
